package com.chengxiaoxiao.domain;

import java.io.Serializable;
import java.util.Date;

/*CREATE TABLE `usersextra` (
        `Id` int(11) NOT NULL AUTO_INCREMENT,
        `code` varchar(128) DEFAULT NULL,
        `isTeacher` int(255) DEFAULT NULL,
        `subTime` datetime DEFAULT NULL,
        `phone` varchar(32) DEFAULT NULL,
        `email` varchar(255) DEFAULT NULL,
        `userId` int(11) DEFAULT NULL,
        PRIMARY KEY (`Id`)
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8;*/

public class UsersExtra implements Serializable {
    private int id;
    private String code;
    private int isTeacher;
    private Date subTime;
    private String phone;
    private String email;
    private int userId;
    private String bodyCard;
    private String address;

    public UsersExtra() {
    }

    public UsersExtra(int id, String code, int isTeacher, Date subTime, String phone, String email, int userId, String bodyCard, String address) {
        this.id = id;
        this.code = code;
        this.isTeacher = isTeacher;
        this.subTime = subTime;
        this.phone = phone;
        this.email = email;
        this.userId = userId;
        this.bodyCard = bodyCard;
        this.address = address;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getIsTeacher() {
        return isTeacher;
    }

    public void setIsTeacher(int isTeacher) {
        this.isTeacher = isTeacher;
    }

    public Date getSubTime() {
        return subTime;
    }

    public void setSubTime(Date subTime) {
        this.subTime = subTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getBodyCard() {
        return bodyCard;
    }

    public void setBodyCard(String bodyCard) {
        this.bodyCard = bodyCard;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
